const _main = () => {
    const button = e('#id-test-button')
    bindEvent(button, 'click', () => {

        // 添加优惠规则
        testPromotionAdd()
        testPromotionAdd2()
        testPromotionChangeRule()
        testPromotionChange()

        // 添加商品
        testItemAdd()
        testItemAddPromotion()
        testItemAddPromotion2()
        testItemAddPromotionList()
        testClearItemPromotion()

        testParse1()
        testParse2()
        testParse3()

        // 计算订单
        testBestCharge1()
        testBestCharge2()
        testBestCharge3()
        testBestCharge4()
        testBestCharge5()

    })
}

_main()
